package com.megvii.corelib.components;

import android.view.View;

/**
 * Created by linyue on 15/12/24.
 */
public interface BaseNetworkErrorView extends View.OnClickListener
{
    public void setButtonListener(ButtonListener listener);

    public void show();

    public void hide();

    public static interface ButtonListener
    {
        public void onNetworkErrorButtonClick();
    }
}
